<?php
/**
 * Description of StockViewModel
 *
 * @author Mike Gao
 */
class ActionHistoryViewModel extends ViewModel{
    protected $pk  = 'Action.id';

    public $viewFields = array(
        'Action' => array('*'),
        'History' => array('id'=>'aid','action_id','field','old', 'new', 'diff', '_on' => 'Action.id = History.action_id'),
    );


}
?>
